package com.csglxt.service;

import java.util.List;

import com.csglxt.base.DaoSupport;
import com.csglxt.domain.Goods;
import com.csglxt.domain.GoodsCate;

/**
 * 
 * @ClassName: GoodsService
 * @Description: TODO(商品管理 业务层接口)
 * @author Itchbeilef
 * @date 2015-5-28 下午9:40:38
 * 
 */
public interface GoodsService extends DaoSupport<Goods> {

    /**
     * 
     * @Title: queryGoodsListByCate
     * @Description: 根据商品分类查询商品列表
     * @param goodsCate
     *            商品分类对象
     * @return
     * @throws
     */
    List<Goods> queryGoodsListByCate(GoodsCate goodsCate);

    /**
     * 
     * @Title: queryGoodsListByCateList
     * @Description: 根据商品分类列表查询商品列表
     * @param goodsCateList
     *            商品分类列表
     * @return
     * @throws
     */
    List<Goods> queryGoodsListByCateList(List<GoodsCate> goodsCateList);

    /**
     * 
     * @Title: queryGoodsListByName
     * @Description: 根据商品名称查询商品列表
     * @param goodsName
     *            商品名称
     * @return
     * @throws
     */
    List<Goods> queryGoodsListByName(String goodsName);

    /**
     * 
     * @Title: findByname
     * @Description: TODO(按照名字查商品)
     * @param good
     *            商品对象
     * @return Goods 商品
     * @throws
     */
    Goods findByname(Goods good);
}
